Integrand size = 24, antiderivative size = 216 \[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\frac {2^{1+p} d e^{-\frac {a}{2 b}} \left (d+\frac {e}{\sqrt {x}}\right ) \Gamma \left (1+p,\frac {-a-b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{2 b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p}}{e^2 \sqrt {c \left (d+\frac {e}{\sqrt {x}}\right )^2}}-\frac {e^{-\frac {a}{b}} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p}}{c e^2} \]
[Out]
Time = 0.20 (sec) , antiderivative size = 213, normalized size of antiderivative = 0.99, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {2504, 2448, 2436, 2337, 2212, 2437, 2347} \[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\frac {d 2^{p+1} e^{-\frac {a}{2 b}} \left (d+\frac {e}{\sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{2 b}\right )}{e^2 \sqrt {c \left (d+\frac {e}{\sqrt {x}}\right )^2}}-\frac {e^{-\frac {a}{b}} \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p} \Gamma \left (p+1,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )}{c e^2} \]
[In]
[Out]
Rule 2212
Rule 2337
Rule 2347
Rule 2436
Rule 2437
Rule 2448
Rule 2504
Rubi steps \begin{align*} \text {integral}& = -\left (2 \text {Subst}\left (\int x \left (a+b \log \left (c (d+e x)^2\right )\right )^p \, dx,x,\frac {1}{\sqrt {x}}\right )\right ) \\ & = -\left (2 \text {Subst}\left (\int \left (-\frac {d \left (a+b \log \left (c (d+e x)^2\right )\right )^p}{e}+\frac {(d+e x) \left (a+b \log \left (c (d+e x)^2\right )\right )^p}{e}\right ) \, dx,x,\frac {1}{\sqrt {x}}\right )\right ) \\ & = -\frac {2 \text {Subst}\left (\int (d+e x) \left (a+b \log \left (c (d+e x)^2\right )\right )^p \, dx,x,\frac {1}{\sqrt {x}}\right )}{e}+\frac {(2 d) \text {Subst}\left (\int \left (a+b \log \left (c (d+e x)^2\right )\right )^p \, dx,x,\frac {1}{\sqrt {x}}\right )}{e} \\ & = -\frac {2 \text {Subst}\left (\int x \left (a+b \log \left (c x^2\right )\right )^p \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^2}+\frac {(2 d) \text {Subst}\left (\int \left (a+b \log \left (c x^2\right )\right )^p \, dx,x,d+\frac {e}{\sqrt {x}}\right )}{e^2} \\ & = -\frac {\text {Subst}\left (\int e^x (a+b x)^p \, dx,x,\log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )}{c e^2}+\frac {\left (d \left (d+\frac {e}{\sqrt {x}}\right )\right ) \text {Subst}\left (\int e^{x/2} (a+b x)^p \, dx,x,\log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )}{e^2 \sqrt {c \left (d+\frac {e}{\sqrt {x}}\right )^2}} \\ & = -\frac {e^{-\frac {a}{b}} \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p}}{c e^2}+\frac {2^{1+p} d e^{-\frac {a}{2 b}} \left (d+\frac {e}{\sqrt {x}}\right ) \Gamma \left (1+p,-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{2 b}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p \left (-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )}{b}\right )^{-p}}{e^2 \sqrt {c \left (d+\frac {e}{\sqrt {x}}\right )^2}} \\ \end{align*}
\[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx \]
[In]
[Out]
\[\int \frac {{\left (a +b \ln \left (c \left (d +\frac {e}{\sqrt {x}}\right )^{2}\right )\right )}^{p}}{x^{2}}d x\]
[In]
[Out]
\[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\int { \frac {{\left (b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{2}\right ) + a\right )}^{p}}{x^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\int { \frac {{\left (b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{2}\right ) + a\right )}^{p}}{x^{2}} \,d x } \]
[In]
[Out]
\[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\int { \frac {{\left (b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{2}\right ) + a\right )}^{p}}{x^{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^2\right )\right )^p}{x^2} \, dx=\int \frac {{\left (a+b\,\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^2\right )\right )}^p}{x^2} \,d x \]
[In]
[Out]